Skip to content

Conversation

Vidhan-59
Copy link

This pull request addresses Issue #2094 by updating the outdated version warning displayed on unsupported Django documentation pages.

What’s changed:

Replaced the static text warning shown for unsupported Django versions with a message that includes a clickable "here" link.

The link dynamically points to the same page in the latest stable version of the documentation using Django’s {% url %} template tag and docurl.

Used {% blocktrans with %} and |safe to preserve full translation compatibility while safely inserting the element.

New behavior:

This document is for an insecure version of Django that is no longer supported. Please click here for the latest version.

This improves usability for readers who land on older pages and ensures they can quickly access the correct, supported documentation.

@ulgens
Copy link
Member

ulgens commented Jun 30, 2025

@Vidhan-59 Before starting to work on a PR, please validate that the issue is not assigned or the author is willing to transfer the issue, or is unreachable. This issue was already in progress and you can contribute to the issue or the existing PR by commenting on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants